//
//  TravelModel.h
//  TravelNotes
//
//  Created by qianfeng on 15-7-7.
//  Copyright (c) 2015年 ZWB. All rights reserved.
//

#import "JSONModel.h"
#import "TravelModel.h"
#import "UserModel.h"
#import "BaseModel.h"

@interface TravelModel : BaseModel

@property (nonatomic, copy) NSNumber *id;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSNumber *days;
@property (nonatomic, copy) NSNumber *photos_count;
@property (nonatomic, copy) NSString *start_date;
@property (nonatomic, copy) NSString *end_date;
@property (nonatomic, copy) NSNumber *views_count;
@property (nonatomic, copy) NSNumber *likes_count;
@property (nonatomic, copy) NSString *front_cover_photo_url;
@property (nonatomic, assign) BOOL featured;

//@property (nonatomic, strong) UserModel *user;
@property (nonatomic, copy) NSString *image;

@end

//{
//    "id": 297974,
//    "name": "跨越南北，自在畅快的魅力美西之旅",
//    "photos_count": 127,
//    "start_date": "2015-06-18",
//    "end_date": "2015-06-29",
//    "days": 12,
//    "level": 4,
//    "views_count": 704,
//    "comments_count": 1,
//    "likes_count": 14,
//    "source": "web",
//    "front_cover_photo_url": "http://p.chanyouji.cn/1435836024/95B3FB02-2E4A-4987-BF5C-2DE26994BA89.jpg",
//    "featured": true,
//    "user": {
//        "id": 488067,
//        "name": "田言幼语",
//        "image": "http://tp2.sinaimg.cn/1935966477/180/5725450288/0"
//    }
//},